package com.ebupt.dbmodule

import android.content.Context
import androidx.lifecycle.LiveData
import androidx.paging.DataSource
import androidx.paging.PagingData
import androidx.paging.PagingSource
import com.ebupt.service.AppUserInfo

interface IDBRepo {

    fun addUser(context: Context)

    fun deleteUser(context: Context,appUserInfo: AppUserInfo)

    fun updateUser(context: Context,appUserInfo: AppUserInfo)

    fun queryUser(context: Context):LiveData<List<AppUserInfo>>

    fun queryUserNomal(context: Context):List<AppUserInfo>

   // fun queryUserForPaging(context: Context): PagingData<AppUserInfo>
}